/** DES: 通过import指定目标js文件的具体类*/
import TestCustomerView from '../view/TestCustomerView';
import TestImageComponent from '../view/TestImageComponent';
import TestStateBlinkComponent from '../view/TestStateBlinkComponent';

/** DES: 尝试直接用Js创建module引入*/
export default class ComponentJsFactory {
    // DES: 枚举对象
    static  ComponentEnum = {
        '自定义View测试': TestCustomerView,
        '图片测试': TestImageComponent,
        'State状态View测试': TestStateBlinkComponent,
    };

    // DES: 对象转数组返回
    static create() {
        let functionList = [];
        functionList = Object.entries(this.ComponentEnum);
        return functionList;
    }
}
